import Index from '../pages/index.vue';
import Team from '../pages/team.vue';
import User from '../pages/user.vue';
import Search from '../pages/search.vue';
import EditUser from '../pages/EditUser.vue';
import SearchResultPage from "../pages/SearchResultPage.vue";
import UserLoginPage from "../pages/UserLoginPage.vue";
import TeamAddPage from "../pages/TeamAddPage.vue";
import TeamUpdatePage from "../pages/TeamUpdatePage.vue";
import TeamJoinPage from "../pages/TeamJoinPage.vue";
import UserTeamPage from "../pages/UserTeamPage.vue";


const routes = [
  { path: '/index', component: Index },
  { path: '/team', component: Team },
  { path: '/search', component: Search },
  { path: '/team/add', component: TeamAddPage },
  { path: '/team/update', component: TeamUpdatePage },
  { path: '/user', component: User },
  { path: '/user/list', component: SearchResultPage },
  { path: '/user/edit', component: EditUser },
  { path: '/user/login', component: UserLoginPage },
  { path: '/user/mycre', component: UserTeamPage },
  { path: '/user/myjoin', component: TeamJoinPage },

]

export default routes;